const app = getApp()
Page({
    data: {
        resourceDomain: app.resourceDomain
    },
    onLoad: function (options) {
        var that = this
        app.request(app.apiDomain + 'index.php?c=activity&a=index',{
            page: 1,
            size: 20
        },res=>{
            console.log(res);
            that.setData({
                list: res.data.data
            })
        })
		//授权
		// app.checkSession(this,'../activityList/index');
    },
	onReady: function() {
		app.SystemInfo(this)
	},
})